﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Text.RegularExpressions;
using easyVal.ServerSide;

namespace easyVal.ValidationAttributes
{
    public class RequiredValAttribute : RequiredAttribute, IClientValidationMethod
    {
        #region IClientValidationMethod Members

        public string ClientMethodName
        {
            get { return "required"; }
        }

        public string ClientParameters
        {
            get { return null; }
        }

        #endregion

    }
}